.section multiboot
#define MB_MAGIC 0x1badb002
#define MB_FLAGS 0x0
#define MB_CHECKSUM - (MB_MAGIC + MB_FLAGS)

.align 4
.int    MB_MAGIC
.int    MB_FLAGS
.int    MB_CHECKSUM

.section .text

.extern main

.global _start
_start:

	mov $kernel_stack, %esp

	call main

	jmp .

_stop:
	cli
	hlt

	jmp _stop

.section .bss
.space 8129
kernel_stack:


